<?php

namespace Boosen\Company\app\Models;

use Illuminate\Database\Eloquent\Model;

class CNBaseProductUrl extends Model
{
    /**
     * 与模型关联的数据表。
     *
     * @var string
     */
    protected $table = 'cn_base_product_urls';
    protected $fillable = ['company_id', 'url', 'done', 'c_id'];
    public $timestamps = false;


    public function company()
    {
    	return $this->belongsTo('\Boosen\Company\app\Models\Company', 'company_id');
    }
}